public class ServerControl {

	public static void main(String[] args) {
		try{
			java.net.ServerSocket serverSocket = new java.net.ServerSocket(2010);
			while(true){
				new Thread(new Server(serverSocket.accept())).start();
			}
		}catch(Exception e){
			e.printStackTrace();
		}
		
	}

}